// 全景监视
import request from '@/utils/request'

// 左侧树
export function getList() {
  return request({
    url: '/system/farm/panoramic-monitor',
    method: 'get'
  })
}

// 中间位置
export function getFetchData() {
  return request({
    url: '/system/farm/panoramic-fetchData',
    method: 'get'
  })
}

export function getPanoramicRanking(data) {
  console.log(data.type);
  return request({
    url: '/system/farm/panoramic-Ranking?type=' + data.type,
    method: 'post'
  })
}
